package com.cuotigou.pojo;

import java.util.Date;

/**
 * 用户表
 * 
 * @author wcyong
 * 
 * @date 2018-11-12
 */
public class SUser {
    private Long id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 密码
     */
    private String password;

    /**
     * 昵称
     */
    private String username;

    /**
     * 年级
     */
    private String grade;

    /**
     * 年级id
     */
    private Integer gradeId;

    /**
     * 城市
     */
    private String city;

    /**
     * 头像
     */
    private String head;

    /**
     * 积分
     */
    private Integer integral;

    /**
     * 添加时间
     */
    private Date addTime;

    /**
     * vip到期时间
     */
    private Date expireTime;

    /**
     * 0 普通用户 1 vip
     */
    private Integer isVip;

    /**
     * 性别 0男 1女
     */
    private Integer sex;

    /**
     * 学校
     */
    private String school;

    /**
     * 悬赏解答数
     */
    private Integer answer;

    /**
     * 解答采纳数
     */
    private Integer adopt;

    /**
     * 老师id
     */
    private Integer teacherId;

    private Date modifyTime;

    private Boolean isDelete;

    /**
     * 微信uuid
     */
    private String wxUuid;

    /**
     * QQuuid
     */
    private String qqUuid;

    /**
     * 状态1正常，2禁言
     */
    private Boolean status;

    /**
     * 盐值
     */
    private String salt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade == null ? null : grade.trim();
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head == null ? null : head.trim();
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school == null ? null : school.trim();
    }

    public Integer getAnswer() {
        return answer;
    }

    public void setAnswer(Integer answer) {
        this.answer = answer;
    }

    public Integer getAdopt() {
        return adopt;
    }

    public void setAdopt(Integer adopt) {
        this.adopt = adopt;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getWxUuid() {
        return wxUuid;
    }

    public void setWxUuid(String wxUuid) {
        this.wxUuid = wxUuid == null ? null : wxUuid.trim();
    }

    public String getQqUuid() {
        return qqUuid;
    }

    public void setQqUuid(String qqUuid) {
        this.qqUuid = qqUuid == null ? null : qqUuid.trim();
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }
}